package castledefense.logic.units;

import castledefense.data.UnitData;
import castledefense.logic.Map;

public class MiniBoss extends Unit{
	
	int multiplier = 50;

	public MiniBoss(int x, int y, int type, Map map) {
		super(x, y, 1.5, UnitData.getSpeed(type)/5, type, map);
		damage = UnitData.getDamage(type)*multiplier;
		health = UnitData.getHealth(type)*multiplier;
		initialHealth = health;
		timeBetweenAttack = UnitData.getTimeBetweenAttack(type);
		timeBeforeNextAttack = timeBetweenAttack;
		regenerationPercent /=10;		
	}

}
